<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
    let a;
    let b;
    let c;
          for (var i = 100; i < 1000; i++) {
           a =parseInt(i%10);
          b = parseInt(i/10%10);
         c = parseInt(i/100);
        if (a * a * a + b * b * b + c * c * c === i) {
            document.write(i);
        }
    }
    </script>
</head>
<body>

</body>
</html>